<?php
/**
 * Introduction: 运费模板附表  transport_extend
 * @author: 杨陈鹏
 * @date: 2016/4/12 14:11
 * @email: yangchenpeng@cdlinglu.com
 */

namespace Common\Model;


use Think\Model;

class TransportExtendModel extends Model
{

    //定义数据库连接信息
    protected $connection;
    //定义模型字段
    protected $fileds = [
        'id',
        'county_ids',
        'city_ids',
        'province_ids',
        'county_names',
        'city_names',
        'province_names',
        'area_name',
        'snum',
        'xprice',
        'is_default',
        'transport_id',
        'transport_title',
    ];
    //定义表名
    protected $tableName = 'transport_extend';

    /**
     * 初始化
     */
    public function _initialize()
    {
        $this->connection = C('Databaese');
    }
}